﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Process.Domain.Entities
{  /// <summary>
   /// 工作流程实例表
   /// </summary>
    [SugarTable("WorkflowDefinitionModel")]
    public class WorkflowDefinitionModel:BaseEntity
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        public string DefinitionId { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public int Version { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 步骤
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "Steps", ColumnDataType = "VARCHAR(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci")]
        public string Steps { get; set; }
    }
}
